<%= stylesheet_link_tag 'sessions' %>
<div class="login_wrapper">
	<table class="login_table">
	    <tr>
			<td colspan="2"><h1>Log in</h1></td>
		</tr>
	 	<tr>
	 		<td colspan="2">
			<% if params[:error]%>
				<p>
				<%= params[:error]%>
				</p>
		    <% end %>
		   </td>
	   </tr>
	<%= form_tag sessions_path do %>
		<tr>
			<td><%= label_tag :email %></td>
	    	<td><%= text_field_tag :email, params[:email] %></td>
		</tr>
		<tr>
			<td><%= label_tag :password %></td>
	    	<td><%= password_field_tag :password %></td>
		</tr>
		<tr>
	 		<td colspan="2"><%= submit_tag "Log in" %></td>
	 	</tr>
	<% end %>
	</table>
</div>
